package com.magic.cd.util;

/**
 * MyCat常量
 * */
public class Const {
	/**
	 * MySQL的权能标识(为了简单：仅列举需要的，其他的参考协议)
	 * */
	public static final int	CLIENT_LONG_PASSWORD		= 0x00000001;
	public static final int	CLIENT_PROTOCOL_41			= 0x00000200;
	public static final int	CLIENT_TRANSACTIONS			= 0x00002000; 
	public static final int	CLIENT_MULTI_RESULTS		= 0x00020000; 
	public static final int	CLIENT_SECURE_CONNECTION	= 0x00008000;
	public static final int	CLIENT_PLUGIN_AUTH			= 0x00080000;
	public static final int	CLIENT_LONG_FLAG			= 0x00000004; 
	public static final int	CLIENT_FOUND_ROWS			= 0x00000002;
	public static final int	CLIENT_LOCAL_FILES			= 0x00000080; 
	public static final int	CLIENT_CONNECT_WITH_DB	    = 0x00000008;
	
	/**
	 * MySql查询命令
	 * */
	public static final int COM_QUERY = 0x03;
	
	
}
